COL

Syntax: COL(x, y)
Location: HCO

COL is a function which returns the colour of a given screen pixel (specified in absolute co-ordinates).

The value returned is either 0, 1, 2 or 3 (representing the four true colours which can displayed in MODE 4, ie. black, red, green and white).

CROSS-REFERENCE:
SET draws a screen pixel.
